<?php

namespace common\models;

use Yii;
use \common\models\base\Config as BaseConfig;

/**
 * This is the model class for table "config".
 */
class Config extends BaseConfig
{
    /**
     * @inheritdoc
     */
    public function rules()
    {
        return array_replace_recursive(parent::rules(),
	    [
            [['created_at', 'updated_at', 'deleted_at'], 'safe'],
            [['id', 'created_by', 'updated_by', 'deleted_by'], 'string', 'max' => 32],
            [['config_code', 'config_name', 'config_value'], 'string', 'max' => 50],
            [['status'], 'string', 'max' => 2]
        ]);
    }
	
}
